﻿using phones.Repository;
using phones.Model;
using phones.ViewModel;
using phones.ViewModel.TreeViewModel;

namespace phones.ViewModel
{
    public class ContactTreeItemViewModel : TreeViewItemBaseViewModel
    {
        private Contact _contact;
        public Contact Model
        {
            get { return _contact; }
        }

        public ContactTreeItemViewModel(DepartnemtNodeTreeItemViewModel parent, Contact con)
            : base(parent, false)
        {
            _contact = con;
        }
    }
}
